<script setup>
defineProps({
  name: String,
  desc: String,
  place: String,
  picture: String
})
</script>

<template>
  <div class="nav__item">
    <img :src="picture" alt="">
    <div class="info">
      <div class="info__item">{{ place }}</div>
      <div class="info__item" style="color: #222222;">{{ name }}</div>
      <div class="info__item">{{ desc }}</div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.nav__item {
  width: 290px;
  height: 158px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  img {
    margin: 0;
    width: 120px;
    height: 158px;
  }
  .info {
    padding: 0px 10px;
    font-size: 15px;
    .info__item {
      margin: 10px 0px;
      color: #adadad;
    }
  }
  &:hover {
    background-color: #e3f9f4;
  }
}
</style>
